package rrs;

public class InventoryItem {
	private String productId;
	private double price;
	private int quantity;
	private String name;
    private String description;

	public String getProductId() {
		return productId;
	}
	public void setProductId(String productId) {
		this.productId = productId;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getQuantity() {
		return quantity;
	}
	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
        public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
        public InventoryItem clone()
        {
                InventoryItem newInvenItem = new InventoryItem();
                newInvenItem.setDescription(this.description);
                newInvenItem.setName(this.name);
                newInvenItem.setPrice(this.price);
                newInvenItem.setProductId(this.productId);
                newInvenItem.setQuantity(this.quantity);

                return newInvenItem;
        }         
	
}
